<style>
#commentEdit{
	width:400px;
	position:absolute;
	display:none;
}
#commentEdit input[type=submit]{
	clear:none;
	background-image:url(gui/icons/save.gif);
	background-repeat:no-repeat;
	background-position: 3px center;
	padding-left:16px;
}
#commentEdit input[type=reset]{
	float:left;
	clear:both;
	background-image:url(gui/icons/cancel.gif);
	background-repeat:no-repeat;
	background-position: 3px center;
	padding-left:16px;
}
#commentEdit .closeBtn,
#commentEdit .moveBtn{
	float:right;
	width:12px;
	height:12px;
	overflow:hidden;
	text-indent:-100em;
}
#commentEdit .closeBtn:hover,
#commentEdit .closeBtn{
	margin:-10px -10px 0px 0px;
	background:url(gui/close_12.gif) no-repeat 0px 0px;
}
#commentEdit .moveBtn:hover,
#commentEdit .moveBtn{
	cursor:move;
	margin:-9px 3px 0px 0px;
	background:url(gui/move_12.gif) no-repeat 0px 0px;
}
#commentEdit input[type=text]{
	width:200px;
}
#commentEdit label{
	clear:both;
}
#commentEdit .senderDetails label{
	width:80px;
}
#commentEdit textarea{
	width:300px;
	height:150px;
}
#commentEdit .info{
	float:left;
	font-size:10px;
	-moz-opacity:0.5;
	margin-top:8px;
	display:block;
}
</style>
<form id="commentEdit" class="area" action="javascript:void(0)" onsubmit="submitForm(this,'preporuke.php','POST','afterSaveComment',1)">
	<input type="hidden" name="a" value="saveComm" />
	<input type="hidden" name="new" value="" />
	
	<input type="hidden" name="edit_komitent_id" value="{{$kom_id}}" />
	<input type="hidden" name="edit_comment_id" value="{{$edit_comment_id}}" />
	<input type="hidden" name="edit_commprep_id" value="{{$edit_commprep_id}}" />
	
	
	<a class="closeBtn" title="zatvori" href="javascript:void(0)" onclick="this.parentNode.style.display='none'">close</a>
	<a class="moveBtn" title="pomeri" href="javascript:void(0)" onmousedown="startMoveIt(this,event)" onmouseup="stopMoveIt(this)">move</a>
	
	<span style="float:right">
		<label for="kom_kontrola_chk">aktivan</label><input type="checkbox" name="kom_kontrola" id="kom_kontrola_chk" value="1" style="margin-top:8px;" />
	</span>
	
	<h2 id="commEditTitle">Izmena komentara</h2>
	
	<label for="kom_edit_naslov">naslov:</label>
	<input type="text" name="kom_edit_naslov" id="kom_edit_naslov" value="{{$naslov}}" style="width:300px;" />
	
	<label for="kom_edit_text">tekst</label>
	<textarea name="kom_edit_text" id="kom_edit_text">{{$edit_text}}</textarea>
	
	<div class="senderDetails">
		<label for="kom_edit_posiljalac">ime i prezime:</label><input type="text" name="kom_edit_posiljalac" id="kom_edit_posiljalac" value="{{$edit_posiljalac}}" />
		<label for="kom_edit_mesto">mesto:</label><input type="text" name="kom_edit_mesto" id="kom_edit_mesto" value="{{$edit_mesto}}" />
		<label for="kom_edit_adresa">ulica i broj:</label><input type="text" name="kom_edit_adresa" id="kom_edit_adresa" value="{{$edit_adresa}}" />
		<label for="kom_edit_email">e-mail:</label><input type="text" name="kom_edit_email" id="kom_edit_email" value="{{$edit_email}}" /><span class="info">username@host.com</span>
		<label for="kom_edit_tel">telefon:</label><input type="text" name="kom_edit_tel" id="kom_edit_tel" value="{{$edit_tel}}" /><span class="info">011 123 4567</span>
	</div>
	
	<input type="reset" id="reset" value="poništi" />
	<input type="submit" id="submit" value="sačuvaj" />
	
</form>